package ${myPackage}.service;

import java.util.List;

import ${myPackage}.criteria.${className}Criteria;
import ${myPackage}.domain.${className};

public interface ${className}Service{
	
	${className} selectByPrimaryKey(Integer ${primarykey});
	
	List<${className}> selectByCriteria(${className}Criteria criteria);
	
	int deleteByPrimaryKey(Integer ${primarykey});
	
	int deleteByCriteria(${className}Criteria criteria);
	
	int insert(${className} ${lowerName});
	
	int updateByPrimaryKeySelective(${className} ${lowerName});
	
	int updateByPrimaryKey(${className} ${lowerName});
	
	List<${className}> selectByPage(${className}Criteria criteria);
	
	int countByCriteria(${className}Criteria criteria);
	
}
